package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.account;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Data
public class FinanceAccountJournalPageReqVO extends PageParam {
    @Schema(description = "会员id/企业id")
    private String custId;
    @Schema(description = "账户类型INDIVIDUAL个人/COMPANY企业/ROOM房屋")
    private String custType;
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @Schema(description = "交易时间")
    private LocalDateTime[] tradeTime;
    @Schema(description = "交易类型")
    private String subject;
    @Schema(description = "手动输入")
    private String keyword;
    @Schema(description = "0收/1支出")
    private Integer direction;
    private String status;

    /**
     * 是否过滤线上待支付订单
     */
    private String isFilter;
}
